<?php
namespace common\models;

use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;

/**
 * 手续费模型
 *
 */
class ARServiceCharge extends ActiveRecord
{
    const STATUSTRANSFER = 1; //转账中
    const STATUSSUCCESS = 2; //已成功
    const STATUSFAIL = -1; //已失败
    const STATUSUNKNOWN = -2; //未知状态

    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%service_charge}}';
    }

    public function behaviors()
    {
        return [
            TimestampBehavior::className(),
        ];
    }

}
